home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / emxinfo.zip / INFO.INF < prev    next >
Text File  |  1992-03-16  |  28KB  |  635 lines

  1. This file documents the Info program.  -*-Text-*-
  2. The H command of Info goes to the node Help in this file.
  3. 
  4. File: info    Node: Top    Up: (DIR)    Next: Expert
  5.  
  6. Info is a program for reading documentation, which you are using now.
  7.  
  8. To learn how to use Info, type the command "h".  It will bring you
  9. to a programmed instruction sequence.
  10.  
  11. * Menu:
  12.  
  13. * Expert::    Advanced Info commands: g, s, e, and 1 - 5.
  14. * Add::        Describes how to add new nodes to the hierarchy.
  15.         Also tells what nodes look like.
  16. * Menus::    How to add to or create menus in Info nodes.
  17. * Cross-refs::    How to add cross-references to Info nodes.
  18. * Tags::    How to make tag tables for Info files.
  19. * Checking::    How to check the consistency of an Info file.
  20. * Texinfo: (texinfo).
  21.         How to generate an Info file and a printed manual
  22.         from the same source file.
  23. 
  24. File: info    Node: Help-Small-Screen        Next: Help
  25.  
  26. Since your terminal has an unusually small number of lines on its
  27. screen, it is necessary to give you special advice at the beginning.
  28.  
  29. If you see the text "--All----" at near the bottom right corner of
  30. the screen, it means the entire text you are looking at fits on the
  31. screen.  If you see "--Top----" instead, it means that there is more
  32. text below that does not fit.  To move forward through the text and
  33. see another screen full, press the Page-Down key.  To move back up, 
  34. press the Page-Up key.
  35.  
  36. Here are 40 lines of junk, so you can try Page Down and Page Up and
  37. see what they do.  At the end are instructions of what you should do
  38. next.
  39.  
  40. This is line 17
  41. This is line 18
  42. This is line 19
  43. This is line 20
  44. This is line 21
  45. This is line 22
  46. This is line 23
  47. This is line 24
  48. This is line 25
  49. This is line 26
  50. This is line 27
  51. This is line 28
  52. This is line 29
  53. This is line 30
  54. This is line 31
  55. This is line 32
  56. This is line 33
  57. This is line 34
  58. This is line 35
  59. This is line 36
  60. This is line 37
  61. This is line 38
  62. This is line 39
  63. This is line 40
  64. This is line 41
  65. This is line 42
  66. This is line 43
  67. This is line 44
  68. This is line 45
  69. This is line 46
  70. This is line 47
  71. This is line 48
  72. This is line 49
  73. This is line 50
  74. This is line 51
  75. This is line 52
  76. This is line 53
  77. This is line 54
  78. This is line 55
  79. This is line 56
  80.  
  81. If you have managed to get here, go back to the beginning with
  82. Page Up, and come back here again, then you understand Page Down and
  83. Page Up.  So now press the Right Arrow key (-->) to get to the normal 
  84. start of the course.
  85. 
  86. File: info    Node: Help    Next: Help-P    Previous: Help-Small-Screen
  87.  
  88. You are talking to the program Info, for reading documentation.
  89.  
  90.   Right now you are looking at one "Node" of Information.
  91. A node contains text describing a specific topic at a specific
  92. level of detail.  This node's topic is "how to use Info".
  93.  
  94.   The top line of a node is its "header".  This node's header (look at
  95. it now) says that it is the node named "Help" in the file "info".
  96. It says that the Next node after this one is the node called "Help-P".
  97. An advanced Info command lets you go to any node whose name you know.
  98.  
  99.   Besides a "Next", a node can have a "Previous" or an "Up".
  100. This node has a "Previous" but no "Up", as you can see.
  101.  
  102.   Now it's time to move on to the Next node, named "Help-P".
  103.  
  104. >> Press the Right Arrow key to move there.
  105.  
  106. ">>" in the margin means it is really time to try a command.
  107. 
  108. File: info    Node: Help-P    Next: Help-^L    Previous: Help
  109.  
  110. This node is called "Help-P".  The "Previous" node, as you see, is
  111. "Help", which is the one you just came from using the Next command
  112. (Right Arrow).  Another Next command command now would take you to 
  113. the Next node, "Help-^L".
  114.  
  115. >> But don't do that yet.  First, try the Left Arrow command, which 
  116. takes you to the Previous node.  When you get there, you can type
  117. Right Arrow again to return here.
  118.  
  119.   This all probably seems insultingly simple so far, but DON'T be
  120. led into skimming.  Things will get more complicated soon.  Also,
  121. don't try a new command until you are told it's time to.  Otherwise,
  122. you may make Info skip past an important warning that was coming up.
  123.  
  124. >> Now type Right Arrow to get to the node "Help-^L" and learn more.
  125. 
  126. File: info    Node: Help-^L    Next: Help-M    Previous: Help-P
  127.  
  128. Page Up, Page Down, Home, End and ^L commands.
  129.  
  130.   This node's header tells you that you are now at node "Help-^L", and
  131. that "P" would get you back to "Help-P".  The line starting "Space,"
  132. is a "Title", saying what the node is about (most nodes have titles).
  133.  
  134.   This is a big node and it doesn't all fit on your display screen.
  135. You can tell that there is more that isn't visible because you
  136. can see the string "--Top-----" rather than "--All-----" near
  137. the bottom right corner of the screen.
  138.  
  139.   The Page Up, Page Down, Home and End commands exist to allow you to 
  140. "move around" in a node that doesn't all fit on the screen at once.
  141. Page Down moves forward, to show what was below the bottom of the screen.
  142. Page Up moves backward, to show what was above the top of the screen
  143. (there isn't anything above the top until you have paged down).
  144. >> Now try typing a Page Down (afterward, type a Page Up to return here).
  145.  
  146.   When you type the space, the two lines that were at the bottom of the 
  147. screen appear at the top, followed by more lines.  Page Up takes the
  148. two lines from the top and moves them to the bottom, USUALLY, but if
  149. there are not a full screen's worth of lines above them they may not
  150. make it all the way to the bottom.
  151.  
  152.   If you type a Page Down when there is no more to see, it will ring 
  153. the bell and otherwise do nothing.  The same goes for a Page Up when
  154. the header of the node is visible.
  155.  
  156.   If your screen is ever garbaged, you can tell Info to print it out
  157. again by typing C-l (Control-L, that is--hold down "Control" and
  158. type an "L" or "l").
  159. >> Type C-l now.
  160.  
  161.   To move back to the beginning of the node you are on, you can type
  162. a lot of Page Ups.  You can also press simply Home to go to the top.
  163. >> Try that now.  (I have put in enough verbiage to make sure you are
  164.    not on the first screenful now).  Then come back, with Page Down.
  165.  
  166.   To move all the way to the end of the node you are on, you can 
  167. either type a lot of Page Downs, or you can press the End key.
  168.  
  169.   You have just learned a considerable number of commands.  If you
  170. want to use one but have trouble remembering which, you should type
  171. a "?" or press "F1" which will go to a node containging a brief list 
  172. of commands.  When you are finished looking at the node, come bak to
  173. this node pressing the Backspace key.
  174. >> Type a "?" now.  After examining it, press Backspace.
  175.  
  176.   From now on, you will encounter large nodes without warning, and
  177. will be expected to know how to use Page Up and Page Down to move
  178. around in them without being told.  Since not all terminals have
  179. the same size screen, it would be impossible to warn you anyway.
  180.  
  181. >> Now press Right Arrow to see the description of the "m" command.
  182. 
  183. File: info    Node: Help-M    Next: Help-Adv    Previous: Help-^L
  184.  
  185. Menus and the "m" command
  186.  
  187.   With only the Right Arrow and Left Arrow commands for moving between 
  188. nodes, nodes are restricted to a linear sequence.  Menus allow a 
  189. branching structure.  A menu is a list of other nodes you can move to.  
  190. It is actually just part of the text of the node formatted specially so 
  191. that Info can interpret it.  The beginning of a menu is always 
  192. identified by a line which starts with "* Menu:".  A node contains a 
  193. menu if and only if it has a line in it which starts that way.  The 
  194. only menu you can use at any moment is the one in the node you are in.  
  195. To use a menu in any other node, you must move to that node first. 
  196.  
  197.   After the start of the menu, each line that starts with a "*"
  198. identifies one subtopic.  The line will usually contain a brief name
  199. for the subtopic (followed by a ":"), the name of the node that talks
  200. about that subtopic, and optionally some further description of the
  201. subtopic.  Lines in the menu that don't start with a "*" have no
  202. special meaning - they are only for the human reader's benefit and do
  203. not define additional subtopics.  Here is an example:
  204. * Foo:    FOO's Node    This tells about FOO
  205. The subtopic name is Foo, and the node describing it is "FOO's Node".
  206. The rest of the line is just for the reader's Information.
  207. [[ But this line is not a real menu item, simply because there is
  208. no line above it which starts with "* Menu:".]]
  209.  
  210.   When you use a menu to go to another node (in a way that will be
  211. described soon), what you specify is the subtopic name, the first
  212. thing in the menu line.  Info uses it to find the menu line, extracts
  213. the node name from it, and goes to that node.  The reason that there
  214. is both a subtopic name and a node name is that the node name must be
  215. meaningful to the computer and may therefore have to be ugly looking.
  216. The subtopic name can be chosen just to be convenient for the user to
  217. specify.  Often the node name is convenient for the user to specify
  218. and so both it and the subtopic name are the same.  There is an
  219. abbreviation for this:
  220. * Foo::   This tells about FOO
  221. This means that the subtopic name and node name are the same; they are
  222. both "Foo".
  223.  
  224. >>  Now use Page Down to find the menu in this node, then come back to
  225. the front with Home.  As you see, a menu is actually visible in its 
  226. node.  If you can't find a menu in a node by looking at it,
  227. then the node doesn't have a menu and the "m" command is not available.
  228.  
  229.   The command to go to one of the subnodes is "m" - but DON'T DO IT
  230. YET!  Before you use "m", you must understand the difference between
  231. commands and arguments.  So far, you have learned several commands
  232. that do not need arguments.  When you type one, Info processes it and
  233. is instantly ready for another command.  The "m" command is different:
  234. it is incomplete without the NAME OF THE SUBTOPIC.  Once you have
  235. typed "m", Info tries to read the subtopic name.
  236.  
  237.   Now look for the line containing many dashes near the bottom of the
  238. screen.  There is one more line beneath that one, but usually it is
  239. blank If it is empty, Info is ready for a command, such as Page Up or
  240. Page Down or Space or "m".  If that line contains text ending in a 
  241. colon, it means Info is trying to read the ARGUMENT to a command.  At 
  242. such times, commands won't work, because Info will try to use them as 
  243. the argument.  You must either type the argument and finish the command
  244. you started, or press the Escape key to cancel the command.  When you 
  245. have done one of those things, the line will become blank again.
  246.  
  247.   The command to go to a subnode via a menu is "m".  After you type
  248. the "m", the line at the bottom of the screen says "Menu item: ".
  249. You must then type the name of tye subtopic you want, and end it with
  250. an Enter.
  251.  
  252.   You can abbreviate the subtopic name.  If the abbreviation is not
  253. unique, the first matching subtopic is chosen.  Some menus will put
  254. the shortest possible abbreviation for each subtopic name in capital
  255. letters, so you can see how much you need to type.  It does not
  256. matter whether you use upper case or lower case when you type the
  257. subtopic.  You should not put any spaces at the end, or inside of the
  258. item name, except for one space where a space appears in the item in
  259. the menu.
  260.  
  261.   You will also notice that when there is a menu on the display, one
  262. of the subtopics will be highlighted.  You can go to the highlighted
  263. subtopic by pressing the Enter key.  Pressing Up Arrow or Back Tab 
  264. will highlight the previous subtopic and pressing Down Arrow or Tab
  265. will highlight the next subtopic.
  266.  
  267.   Here is a menu to give you a chance to practice.
  268.  
  269. * Menu:       The menu starts here.
  270.  
  271. This menu givs you three ways of going to one place, Help-FOO.
  272.  
  273. * Foo:    Help-FOO    A node you can visit for fun
  274. * Bar:    Help-FOO    Strange!  two ways to get to the same place.
  275. * Help-FOO::        And yet another!
  276.  
  277. >>  Now type just an "m" and see what happens:
  278.  
  279.   Now you are "inside" an "m" command.  Commands can't be used now;
  280. the next thing you will type must be the name of a subtopic.
  281.  
  282.   You can change your mind about doing the "m" by typing Escape.
  283. >> Try that now;  notice the bottom line clear.
  284. >> Then type another "m".
  285.  
  286. >> Now type "BAR", the item name.  Don't type Enter yet.
  287.  
  288.   While you are typing the item name, you can use the Backspace
  289. character to cancel one character at a time if you make a mistake.
  290. >> Type one to cancel the "R".  You could type another "R" to
  291. replace it.  You don't have to, since "BA" is a valid abbreviation.
  292. >> Now you are ready to go.  Type an Enter.
  293.  
  294.   After visiting Help-FOO, you should return here.
  295.  
  296. >> Press the Right Arrow key to see more commands.
  297. 
  298. File: info    Node: Help-FOO    Up: Help-M
  299.  
  300. The "u" or Control-Up Arrow command
  301.  
  302.   Congratulations!  This is the node Help-FOO.  Unlike the other
  303. nodes you have seen, this one has an "Up": "Help-M", the node you
  304. just came from via the "m" command.  This is the usual convention--
  305. the nodes you reach from a menu have Ups that lead back to the menu.
  306. Menus move Down in the tree, and Up moves Up.  Previous, on the other
  307. hand, is usually used to "stay on the same level but go backwards".
  308.  
  309.   You can go back to the node Help-M by typing the command
  310. "u" for "Up" or pressing the Control-Up Arrow key.  That will put you 
  311. at the FRONT of the node - to get back to where you were reading you 
  312. will have to type some Page Downs.
  313.  
  314. >> Now type "u" to move back up to Help-M.
  315. 
  316. File: info    Node: Help-Adv    Next: Help-Q    Previous: Help-M
  317.  
  318. Some advanced Info commands
  319.  
  320.   The course is almost over, so please stick with it to the end.
  321.  
  322.   If you have been moving around to different nodes and wish to
  323. retrace your steps, the "l" command ("l" for "last") will do that, one
  324. node at a time.  If you have been following directions, an "l" command
  325. now will get you back to Help-M.  Another "l" command would undo the "u"
  326. and get you back to Help-FOO.  Another "l" would undo the M and get you
  327. back to Help-M.  You can also press the Backspace key which will move
  328. you back to the last node.  (Backspace and "l" do the same thing.)
  329.  
  330. >> Try typing three "l"'s, pausing in between to see what each "l" does.
  331. Then follow directions again and you will end up back here.
  332.  
  333.   Note the difference between "l" and Right Arrow:  "l" moves to where 
  334. YOU last were, whereas "p" always moves to the node which the header 
  335. says is the "Previous" node (from this node, to Help-M).
  336.  
  337.   The "d" command gets you instantly to the Directory node.
  338. This node, which is the first one you saw when you entered Info,
  339. has a menu which leads (directly, or indirectly through other menus),
  340. to all the nodes that exist.
  341.  
  342. >> Try doing a "d", then do an "l" to return here (yes, DO return).
  343.  
  344.   Sometimes, in Info documentation, you will see a cross reference.
  345. Cross references look like this: *Note Cross: Help-Cross.  That is a
  346. real, live cross reference which is named "Cross" and points at the
  347. node named "Help-Cross".
  348.  
  349.   If you wish to follow a cross reference, you must use the "f"
  350. command.  The "f" must be followed by the cross reference name (in
  351. this case, "Cross").  You can use Backspace to edit the name, and if 
  352. you change your mind about following any reference you can use Escape
  353. to cancel the command.
  354.  
  355.   Completion is available in the "f" command; you can complete among
  356. all the cross reference names in the current node.
  357.  
  358. >> Type "f", followed by "Cross", and an Enter.
  359.  
  360.   To get a list of all the cross references in the current node, you can
  361. type "?" after an "f".  The "f" continues to await a cross reference name
  362. even after printing the list, so if you don't actually want to follow
  363. a reference you should press Escape to cancel the "f".
  364.  
  365. >> Type "f?" to get a list of the footnotes in this node.  Then
  366. press Escape and see how the "f" gives up.
  367.  
  368. >> Now type "n" to see the last node of the course.
  369. 
  370. File: info    Node: Help-Cross
  371.  
  372.   This is the node reached by the cross reference named "Cross".
  373.  
  374.   While this node is specifically intended to be reached by a cross
  375. reference, most cross references lead to nodes that "belong" someplace
  376. else far away in the structure of Info.  So you can't expect the
  377. footnote to have a Next, Previous or Up pointing back to where you
  378. came from.  In general, the Backspace or "l" (el) command is the only 
  379. way to get back there.
  380.  
  381. >> Type "l" to return to the node where the cross reference was.
  382. 
  383. File: info    Node: Help-Q    Previous: Help-Adv    Up: Top
  384.  
  385.   To get out of Info, back to what you were doing before, type "q"
  386. for "Quit".     You can also to 'x' for "eXit" or press the Escape key.
  387.  
  388.   This is the end of the course on using Info.  There are some other
  389. commands that are not essential or meant for experienced users;  they
  390. are useful, and you can find them by looking in the directory for
  391. documentation on Info.  Finding them will be a good exercise in using
  392. Info in the usual manner.
  393.  
  394. >> Type "d" to go to the Info directory node;
  395.    then type "mInfo" and Enter, to get to the node about Info
  396.    and see what other help is available.
  397. 
  398. File: info,  Node: Expert,  Up: Top,  Previous: Top,  Next: Add
  399.  
  400. Some Advanced Info Commands ("g", "s", "1" - "5", and "e").
  401.  
  402. If you know a node's name, you can go there by typing
  403. "g", the name, and Enter.  Thus, "gTop<Enter>" would go to the node
  404. called Top in this file (its directory node).  "gExpert<Enter>"
  405. would come back here.
  406.  
  407. Unlike "m", "g" does not allow the use of abbreviations.
  408.  
  409. To go to a node in another file, you can include the filename in the
  410. node name by putting it at the front, in parentheses.  Thus,
  411. "g(dir)Top<Enter>" would go to the Info Directory node, which is node Top
  412. in the file dir.
  413.  
  414. The node name "*" specifies the whole file.  So you can look at all
  415. of the current file by typing "g*<Enter>" or all of any other file
  416. with "g(FILENAME)<Enter>".
  417.  
  418. The "s" command allows you to search a whole file for a string.  It
  419. will switch to the next node if and when that is necessary.  You type
  420. "s" followed by the string to search for, terminated by Enter.  To
  421. search for the same string again, just "s" followed by Enter will do.
  422. The file's nodes will be scanned in the order they are in in the file,
  423. which has no necessary relationship to the order that they may be in
  424. in the tree structure of menus and next's.  But normally the two
  425. orders will not be far different.  In any case, you can always do a
  426. "b" to find out what node you have reached, if the header isn't
  427. visible (this can happen, because "S" puts your cursor at the
  428. occurrence of the string, not at the beginning of the node).
  429.  
  430. If you grudge the system each character of type-in it requires,
  431. you might like to use the commands "1", "2", "3", "4", and "5".
  432. They are short for the "m" command together with an argument.
  433. "1" goes through the first item in the current node's menu;
  434. "2" goes through the second item, etc.  Note that numbers
  435. larger than 5 are not allowed.  If the item you want is that
  436. far down, you are better off using an abbreviation for its
  437. name than counting.
  438. 
  439. File: info,  Node: Add,  Up: Top,  Previous: Expert,  Next: Menus
  440.  
  441. To add a new topic to the list in the directory, you must
  442.  1) create a node, in some file, to document that topic.
  443.  2) put that topic in the menu in the directory.  *Note Menu: Menus.
  444.  
  445.   The new node can live in an existing documentation file, or in a new
  446. one.  It must have a ^_ character before it (invisible to the user;
  447. this node has one but you can't see it), and it ends with either a ^_,
  448. a ^L, or the end of file.  Note:  If you put in a ^L to end a new
  449. node, be sure that there is a ^_ after it to start the next one, since
  450. ^L can't START a node.  Also, a nicer way to make a node boundary be a
  451. page boundary as well is to put a ^L RIGHT AFTER the ^_.
  452.  
  453.   The ^_ starting a node must be followed by a newline or a ^L newline,
  454. after which comes the node's header line.  The header line must give
  455. the node's name (by which Info will find it), and state the names of
  456. the Next, Previous, and Up nodes (if there are any).  As you can see,
  457. this node's Up node is the node Top, which points at all the
  458. documentation for Info.  The Next node is "Menus".
  459.  
  460.   The keywords "Node", "Previous", "Up" and "Next",  may appear in
  461. any order, anywhere in the header line, but the recommended order is
  462. the one in this sentence.  Each keyword must be followed by a colon,
  463. spaces and tabs, and then the appropriate name.  The name may be
  464. terminated with a tab, a comma, or a newline.  A space does not end
  465. it; node names may contain spaces.  The case of letters in the names
  466. is insignificant.
  467.  
  468.   A node name has two forms.  A node in the current file is named by
  469. what appears after the "Node: " in that node's first line.  For
  470. example, this node's name is "Add".  A node in another file is named
  471. by "(FILENAME)NODE-WITHIN-FILE", as in "(info)Add" for this node.  If
  472. the file name is relative, it is taken starting from the standard
  473. Info file directory of your site.  The name "(FILENAME)Top" can be
  474. abbreviated to just "(FILENAME)".  By convention, the name "Top" is
  475. used for the "highest" node in any single file - the node whose "Up"
  476. points out of the file.  The Directory node is "(dir)".  The Top node
  477. of a document file listed in the Directory should have an "Up: (dir)"
  478. in it.
  479.  
  480.   The node name "*" is special: it refers to the entire file.  Thus,
  481. g* will show you the whole current file.  The use of the node * is to
  482. make it possible to make old-fashioned, unstructured files into nodes
  483. of the tree.
  484.  
  485.   The "Node:" name, in which a node states its own name, must not
  486. contain a filename, since Info when searching for a node does not
  487. expect one to be there.  The Next, Previous and Up names may contain
  488. them.  In this node, since the Up node is in the same file, it was not
  489. necessary to use one. 
  490.  
  491.   Note that the nodes in this file have a File name in the header
  492. line.  The File names are ignored by Info, but they serve as
  493. comments to help identify the node for the user.
  494. 
  495. File: info, Node: Menus, Previous: Add, Up: Top, Next: Cross-refs
  496.  
  497. How to Create Menus:
  498.  
  499.   Any node in the Info hierarchy may have a MENU--a list of subnodes. 
  500. The "m" command searches the current node's menu for the topic which it
  501. reads from the terminal.
  502.  
  503.   A menu begins with a line starting with "* Menu:".  The rest of the
  504. line is a comment.  After the starting line, every line that begins
  505. with a "* " lists a single topic.  The name of the topic--the arg
  506. that the user must give to the "m" command to select this topic--
  507. comes right after the star and space, and is followed by 
  508. a colon, spaces and tabs, and the name of the node which discusses
  509. that topic.  The node name, like node names following Next,
  510. Previous and Up, may be terminated with a tab, comma, or newline;
  511. it may also be terminated with a period.
  512.  
  513.   If the node name and topic name are the same, than rather than
  514. giving the name twice, the abbreviation "* NAME::" may be used
  515. (and should be used, whenever possible, as it reduces the visual
  516. clutter in the menu).
  517.  
  518.   It is considerate to choose the topic names so that they differ
  519. from each other very near the beginning--this allows the user to type
  520. short abbreviations.  In a long menu, it is a good idea to capitalize
  521. the beginning of each item name which is the minimum acceptable
  522. abbreviation for it (a long menu is more than 5 or so entries).
  523.  
  524.   The node's listed in a node's menu are called its "subnodes", and
  525. it is their "superior".  They should each have an "Up:" pointing at
  526. the superior.  It is often useful to arrange all or most of the
  527. subnodes in a sequence of Next's/Previous's so that someone who
  528. wants to see them all need not keep revisiting the Menu.
  529.  
  530.   The Info Directory is simply the menu of the node "(dir)Top"--that
  531. is, node Top in file /emx/info/dir.  You can put new entries in that
  532. menu just like any other menu.  The Info Directory is NOT the same as
  533. the file directory called "info".  It happens that many of Info's
  534. files live on that file directory, but they don't have to; and files
  535. on that directory are not automatically listed in the Info Directory
  536. node.
  537.  
  538.   Also, although the Info node graph is claimed to be a "hierarchy",
  539. in fact it can be ANY directed graph.  Shared structures and pointer
  540. cycles are perfectly possible, and can be used if they are
  541. appropriate to the meaning to be expressed.  There is no need for all
  542. the nodes in a file to form a connected structure.  In fact, this
  543. file has two connected components.  You are in one of them, which is
  544. under the node Top;  the other contains the node Help which the "h"
  545. command goes to.  In fact, since there is no garbage collector,
  546. nothing terrible happens if a substructure is not pointed to, but
  547. such a substructure will be rather useless since nobody will ever
  548. find out that it exists.
  549. 
  550. File: info, Node: Cross-refs, Previous: Menus, Up: Top, Next: Tags
  551.  
  552. Creating Cross References:
  553.  
  554.   A cross reference can be placed anywhere in the text, unlike a menu
  555. item which must go at the front of a line.  A cross reference looks
  556. like a menu item except that it has "*note" instead of "*".  It CANNOT
  557. be terminated by a ")", because ")"'s are so often part of node names.
  558. If you wish to enclose a cross reference in parentheses, terminate it
  559. with a period first.  Here are two examples of cross references pointers:
  560.  
  561.      *Note details: commands.  (See *note 3: Full Proof.)
  562.  
  563. They are just examples.  The places they "lead to" don't really exist!
  564. 
  565. File: info,  Node: Tags,  Previous: Cross-refs,  Up: Top,  Next: Checking
  566.  
  567. Tag Tables for Info Files:
  568.  
  569.   You can speed up the access to nodes of a large Info file by giving
  570. it a tag table.  Unlike the tag table for a program, the tag table for
  571. an Info file lives inside the file itself and will automatically be
  572. used whenever Info reads in the file.
  573.  
  574.   To make a tag table, go to a node in the file using Info and type
  575. M-x Info-tagify.  Then you must use C-x C-s to save the file.
  576.  
  577.   Once the Info file has a tag table, you must make certain it is up
  578. to date.  If, as a result of deletion of text, any node moves back
  579. more than a thousand characters in the file from the position
  580. recorded in the tag table, Info will no longer be able to find that
  581. node.  To update the tag table, use the Info-tagify command again.
  582.  
  583.   An Info file tag table appears at the end of the file and looks like
  584. this:
  585.  
  586. ^_
  587. Tag Table:
  588. File: info, Node: Cross-refs21419
  589. File: info,  Node: Tags22145
  590. ^_
  591. End Tag Table
  592.  
  593. Note that it contains one line per node, and this line contains
  594. the beginning of the node's header (ending just after the node name),
  595. a rubout character, and the character position in the file of the
  596. beginning of the node.
  597. 
  598. File: info,  Node: Checking,  Previous: Tags,  Up: Top
  599.  
  600. Checking an Info File:
  601.  
  602.   When creating an Info file, it is easy to forget the name of a node
  603. when you are making a pointer to it from another node.  If you put in
  604. the wrong name for a node, this will not be detected until someone
  605. tries to go through the pointer using Info.  Verification of the Info
  606. file is an automatic process which checks all pointers to nodes and
  607. reports any pointers which are invalid.  Every Next, Previous, and Up
  608. is checked, as is every menu item and every cross reference.  In addition,
  609. any Next which doesn't have a Previous pointing back is reported.
  610. Only pointers within the file are checked, because checking pointers
  611. to other files would be terribly slow.  But those are usually few.
  612.  
  613.   To check an Info file, do M-x Info-validate while looking at any
  614. node of the file with Info.
  615. 
  616. Tag table:
  617. File: info,  Node: Checking25796
  618. File: info,  Node: Tags24579
  619. File: info, Node: Cross-refs23926
  620. File: info, Node: Menus21121
  621. File: info,  Node: Add18186
  622. File: info,  Node: Expert15972
  623. File: info    Node: Help-Q15421
  624. File: info    Node: Help-Cross14907
  625. File: info    Node: Help-Adv12631
  626. File: info    Node: Help-FOO11930
  627. File: info    Node: Help-M6648
  628. File: info    Node: Help-^L4141
  629. File: info    Node: Help-P3393
  630. File: info    Node: Help2444
  631. File: info    Node: Help-Small-Screen816
  632. File: info    Node: Top111
  633. 
  634. End tag table
  635.